home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / 2499.ZIP / MAKEFONT.ZIP / README.TXT < prev   
Text File  |  1990-07-27  |  5KB  |  155 lines

  1. MAKEFONT/readme.txt
  2. 27-Jul-1990
  3.  
  4. Files Included:
  5. ~~~~~~~~~~~~~~~
  6.  
  7. README.TXT                    The file you are reading
  8. MAKEFONT.EXE                  The program that creates Windows .FNT files
  9. FONTRES.ASM                   Dummy ASM file required to make a .FON
  10. FONTRES.OBJ                   For those that do not have MASM
  11.  
  12. Revision History:
  13. ~~~~~~~~~~~~~~~~~
  14.  
  15. v1.01    A very embarrased author fixes a *MAJOR* bug in this release that
  16.          made version 1.00 absolutely unusable.  One of those last minute
  17.          changes that was *NEVER* tested.  Like I said, very embarrassed.
  18.  
  19. v1.00    Version 1.00 was the first version released.  It had no copyright
  20.          notice or version indication.
  21.  
  22. The Problem:
  23. ~~~~~~~~~~~~
  24.  
  25. I am still trying to figure out why Microsoft chose to use an 8x12 font
  26. for "DOS Windows" in Windows 3.0 386 enhanced mode.  An 8x14 font was used
  27. for the IBM EGA (350/14==25), and an 8x16 font was used for the IBM VGA
  28. (400/16==25).  Now we jump up into graphics mode on the VGA (640x480)
  29. and we are using an 8x12 font!  I don't understand.
  30.  
  31. Furthermore, I am using a Video Seven VRAM board, which can do up to
  32. 800x600 with my video monitor (a NEC 3D).  An 8x12 character set is
  33. ***VERY**** hard to read at a resolution like this.  If you are also
  34. running at 800x600, the 8x16 font really helps!
  35.  
  36.  
  37. The Solution:
  38. ~~~~~~~~~~~~~
  39.  
  40. MAKEFONT is a program that will create Windows font files from those that
  41. are in your video card's ROM.  Well, almost.  To create fonts that are
  42. really usable for Windows 3.0, you will have to find somebody that has
  43. a suitable linker, MASM (optional), and the resource compiler. Generally
  44. these folks are the same that have a version of the Microsoft C compiler
  45. and the Windows SDK.
  46.  
  47. NOTE: The linker included with C6 cannot be used since it marks the
  48.       .EXE in error if all segments linked are zero length.  The
  49.       Segmented Executable Linker included with C 5.1 does not have
  50.       this problem.
  51.  
  52. MAKEFONT will create up to 3 different fonts, each of which is contained
  53. in the VGA's ROM.  The syntax for makefont is:
  54.  
  55.    MAKEFONT <fontnumber> <fontname> <filename>
  56.  
  57. The <fontnumber> is either 1, 2, or 3, which correspond to the 8x8, 8x14
  58. and 8x16 fonts encoded in the VGA ROM.  If you have an EGA, only fonts
  59. 1 and 2 may be used.
  60.  
  61. The <fontname> parameter contains the name of the module as known to
  62. windows.  If you want to replace an existing font with your own font,
  63. you should use the same name as the existing font does.  Use the EXEHDR
  64. utility included with C 6.0 to determine this name.  Otherwise, the
  65. fontname will probably be the same as the <filename>.
  66.  
  67. The <filename> parameter should contain the base name of the output
  68. file name(s) desired.  The MAKEFONT program creates four files that,
  69. their file names based on <filename> as follows:
  70.  
  71. <filename>.fnt    -     Windows font resource file
  72. <filename>.def    -     Module definition file
  73. <filename>.rc     -     Resource compiler script file
  74. <filename>.mak    -     Microsoft MAKE or NMAKE makefile
  75.  
  76. A condensed form of this documentation can be obtained by typing
  77. "MAKEFONT" at the DOS prompt.
  78.  
  79. When the make file is run (with either "MAKE <filename>.mak" or
  80. NMAKE /f <filename>.mak", the resulting output will be a font file
  81. usable under Windows 3.0, called <filename>.fon.
  82.  
  83.  
  84. Why:
  85. ~~~~
  86.  
  87. Q. Why did I not create the .FON directly?
  88.  
  89. A. One, I didn't feel like it.  Two, I thought it might be necessary
  90.    for some devices to change things in the DESCRIPTION line.  Since
  91.    you have an editable .DEF file after MAKEFONT runs, this is
  92.    possible.  This feature may, however, be supplied in a future
  93.    version of MAKEFONT.
  94.  
  95.  
  96. Q. Why did I not include the fonts generated from my machine?
  97.  
  98. A. The ROMs in most machines are copyrighted.  This includes such things
  99.    as fonts embedded in them.  I could not give an individual a copy
  100.    of any of the fonts from my machine, unless that person also had
  101.    the same ROM in their machine.
  102.  
  103.  
  104. Examples:
  105. ~~~~~~~~~
  106.  
  107. To make an 8x16 font usable as the OEM font under Windows 3.0:
  108.  
  109. makefont 3 OEMFONTS vga8x16
  110. make vga8x16.mak
  111. makefont 3 EGA80WOA vga80woa
  112. make vga80woa.mak
  113.  
  114. Place the vga8x16.fon and vga80woa.fon files in your "windows\system"
  115. directory.  Now change the "oemfonts.fon=" line in your "system.ini" to read:
  116.  
  117. oemfonts.fon=vga8x16.fon
  118.  
  119. If you want this font to be used in DOS windows, change or add the following
  120. line in the [386Enh] section of your "system.ini" file:
  121.  
  122. ega80woa.fon=vga80woa.fon
  123.  
  124. The fonts generated by the MAKEFONT program can also be installed as
  125. Windows GDI fonts, through the Control Panel.  There are probably very
  126. few printers that could utilize them, but you could use them in Paint,
  127. and Terminal, for example.
  128.  
  129.  
  130. Contacts:
  131. ~~~~~~~~~
  132.  
  133. If you have any questions about MAKEFONT, or the procedures for changing
  134. fonts, I can be reached at the following addresses:
  135.  
  136. Dean D. McCrory
  137. 23323 - 61st Ave. S., #AA-104
  138. Kent, WA  98032
  139. (206) 859-9730
  140.  
  141. GEnie:         D.MCCRORY
  142. CompuServe:    74606,525
  143.  
  144. Suggestions as well as contributions are always appreciated.
  145.  
  146.  
  147. Legalities:
  148. ~~~~~~~~~~~
  149.  
  150. Simply put, the author, Dean D. McCrory, assumes no liability for any
  151. damage caused by the use or misuse of the program MAKEFONT.
  152.  
  153.  
  154. MAKEFONT/readme.txt
  155.